import { z } from "zod";

const User = z.object({
  name: z.string(),
  age: z.number(),
});

// 推断出静态类型
type UserType = z.infer<typeof User>;
